home *** CD-ROM | disk | FTP | other *** search
/ Wildcat Gold - The Optical BBS / Wildcat Gold - The Optical BBS (The Golden ROM Series)(Volume 4 Number 1)(The Digital Publishing Company)(1992).ISO / sdn / menwmen1.sdn / INSTALL.DA7 < prev    next >
Text File  |  1991-08-31  |  3KB  |  150 lines

  1. /*
  2.  *    FILE: EXAMPLE1.DAT
  3.  *
  4.  *    DESC:
  5.  *        This sample script file shows the general format of a script file.
  6.  *        The new @ChDir and @ChDrive commands are also demonstrated in the
  7.  *        @Finish/@EndFinish block.
  8.  */
  9.  
  10. @DefineProject
  11.     @Name         = "Men on Women/Women on Men"             /* Product Textual Name:  */
  12.     @Version    = "1.00"
  13.     @Subdir     = "MenWomen"        /* this is where Lattice puts files */
  14.     @OutDrive     = Z
  15.  
  16. /*    @Group         = "A"
  17.  */
  18.  
  19. @EndProject
  20.  
  21. @Display
  22.     @Cls
  23.  
  24.                               MEN ON WOMEN
  25.                               WOMEN ON MEN
  26.  
  27.                          Hard Disk Installation
  28.                                  V@Version
  29.  
  30.       Requirements:  Space  - 2.0 megabytes on hard disk drive;
  31.  
  32.                      Time   - About 3 minutes;
  33.  
  34.                      Memory - 640K RAM  (At least 525K free).
  35.  
  36.               Note:  It is only necessary to run Install once.
  37.  
  38. @Pause
  39. @EndDisplay
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46. @GetOutDrive
  47.   @Suppress A
  48.   @Suppress B
  49.   @Cls
  50.  
  51.                 To which drive should INSTALL copy the files?
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.              Use <Arrow Keys> to select from multiple hard drives.
  62.              
  63.                           Press <Enter> to continue.
  64.  
  65. @EndOutDrive
  66.  
  67.  
  68.  
  69. @Display
  70.   @If (@DiskFree @OutDrive < 2000000)
  71.  
  72.       There is insufficient free space on Destination Drive @OutDrive.
  73.  
  74.       Free Bytes Available: @DiskFree @OutDrive   Bytes Required: 2,000,000.
  75.  
  76.       This installation program is going to terminate.
  77.  
  78.       Select a different hard drive or free space on current choice.
  79.  
  80.  
  81.       @Pause
  82.       @Abort
  83.   @EndIf
  84. @EndDisplay
  85.  
  86.  
  87.  
  88. @GetSubdir
  89.     @Cls
  90.  
  91.  
  92.     Men on Women/Women on Men should be installed in its own subdirectory.
  93.  
  94.     You may change the directory below if necessary.
  95.  
  96.     Press <Enter> to continue.
  97.  
  98.  
  99.  
  100.     @Prompt = "Which subdirectory (<Enter> = @Subdir) ?"
  101. @EndSubdir
  102.  
  103.  
  104.  
  105.  
  106.  
  107.    @DefineDisk
  108.           @Label = "DISK ONE"
  109.  
  110.  
  111.     @BeginLib DISKONE.LIF
  112.         @File   MENWOMEN.DAT
  113.         @File    MENWOMEN.IX
  114.     @EndLib
  115.  
  116.  
  117.  
  118.     @BeginLib DISKTWO.LIF
  119.         @File         MW.EXE
  120.         @File     READER.HLP
  121.         @File     CONFIG.DAT
  122.         @File      CONFIG.IX
  123.                 @File      READ.ME
  124.                 @File      EXAMPLES.DOC
  125.     @EndLib
  126.  
  127.  
  128.  
  129.  
  130.  @EndDisk
  131.  
  132.  
  133.  
  134.  
  135.  
  136. @Finish
  137.     @Cls
  138.     @Name is about to begin.
  139.  
  140.  
  141.     @Pause
  142.  
  143.     @ChDrive @OutDrive        /* change to the output drive */
  144.     @ChDir "@Subdir"        /* change to the output subdirectory */
  145.     @Execute "mw"," "    /* execute the program vcdemo */
  146.  
  147. @EndFinish
  148.  
  149. /* end-of-file */
  150.